<h1>Listing actions</h1>

<table>
  <tr>
    <th>Status</th>
    <th>Play</th>
    <th>Challenge</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @actions.each do |action| %>
  <tr>
    <td><%= action.status %></td>
    <td><%= action.play %></td>
    <td><%= action.challenge %></td>
    <td><%= link_to 'Show', action %></td>
    <td><%= link_to 'Edit', edit_action_path(action) %></td>
    <td><%= link_to 'Destroy', action, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Action', new_action_path %>
